package two_xia.ex9.Demo01;

import java.util.Scanner;

public class Client {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Mission mission = new Mission();
        mission.setEnemy(scanner.nextInt());

        Yingzhang yingzhang = new Yingzhang();
        Paizhang paizhang = new Paizhang(yingzhang);
        Banzhang banzhang = new Banzhang(paizhang);
        
        banzhang.action(mission);
    }
}
